#include <stdio.h>

enum Rank{
	OnePair,
	TwoPairs,
	ThreeOfAKind,
	Straight,
	Flush,
	FullHouse,
	FourOfAKind,
	StraightFlush,
	RoyalFlush	
};

int isPlayer1Winner(char *hand)
{
	char *h1=hand, h2=hand+10;
	int i, pairs[15];
	for (i=0; i<10; i+=2)pairs[h1[i]]++; 
}

int main()
{
	FILE *fp;
	fp = fopen("poker.txt", "r");
	char buffer[20];
	int counter=0;
	while(fgets(buffer, 20, fp) != NULL) {
		if (isPlayer1Winner(buffer))counter++;
	}
	fclose(fp);
	printf("%d\n", counter);
}
